<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
</head>
<body>


<h1>欢迎注册</h1>

<form action="${pageContext.request.contextPath}/user?method=register" method="post">
    <p><input type="text" name="username" placeholder="请输入用户名"></p> <span id="msg"></span>
    <p><input type="password" name="password" placeholder="请输入密码"></p>
    <p><input type="submit" value="立即注册"></p>
</form>
<span style="color: red">${info}</span>
</body>
</html>
